package com.action;

import java.util.List;

import com.man.AnnounceCtrl;
import com.std.Announce;

public class UserAnnounceSelectAction {
	private int size;
	private List<Announce> announceList;
	public int getSize() {
		return size;
	}
	public void setSize(int size) {
		this.size = size;
	}
	public List<Announce> getAnnounceList() {
		return announceList;
	}
	public void setAnnounceList(List<Announce> announceList) {
		this.announceList = announceList;
	}
	public String execute() {
		AnnounceCtrl announceCtrl=new AnnounceCtrl();
		announceList=announceCtrl.getItems();
		size=announceList.size();
		return "success";
	}
}
